Skip to content

Release 0.31.0#1157

Merged
Tim020 merged 5 commits into
mainfrom
dev
Jun 7, 2026
Merged

Release 0.31.0#1157
Tim020 merged 5 commits into
mainfrom
dev

Conversation

@Tim020

@Tim020 Tim020 commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Tim020 and others added 2 commits June 6, 2026 22:25
* Auto-grant full RBAC access to cue type creator on creation

When a user creates a new cue type, immediately grant them READ, WRITE,
and EXECUTE roles on that resource so they have per-instance access
without requiring a separate admin grant. Also sends a GET_CURRENT_RBAC
WebSocket message to the creator's active connections so both frontends
refresh their RBAC state without a reload.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Fix ruff formatting in test_cues.py

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@Tim020 Tim020 added the release Pull requests for creating a new release label Jun 6, 2026
@github-actions github-actions Bot added client Pull requests changing front end code server Pull requests changing back end code medium-diff client-v3 labels Jun 6, 2026
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Client V3 Test Results

23 tests   23 ✅  0s ⏱️
 2 suites   0 💤
 1 files     0 ❌

Results for commit 811cecb.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Client Test Results

128 tests   128 ✅  0s ⏱️
  6 suites    0 💤
  1 files      0 ❌

Results for commit 811cecb.

♻️ This comment has been updated with latest results.

Comment thread server/alembic_config/versions/3f2343a8a936_add_created_on_timestamp_tp_users.py Dismissed
Comment thread server/alembic_config/versions/3f2343a8a936_add_created_on_timestamp_tp_users.py Dismissed
Comment thread server/alembic_config/versions/3f2343a8a936_add_created_on_timestamp_tp_users.py Dismissed
Comment thread server/alembic_config/versions/3f2343a8a936_add_created_on_timestamp_tp_users.py Dismissed
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Python Test Results

  1 files    1 suites   2m 8s ⏱️
651 tests 651 ✅ 0 💤 0 ❌
656 runs  656 ✅ 0 💤 0 ❌

Results for commit 811cecb.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Playwright E2E Results (chromium)

160 tests   160 ✅  1m 36s ⏱️
 14 suites    0 💤
  1 files      0 ❌

Results for commit bbe7180.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Playwright E2E Results (firefox)

160 tests   160 ✅  1m 37s ⏱️
 14 suites    0 💤
  1 files      0 ❌

Results for commit bbe7180.

♻️ This comment has been updated with latest results.

)

- app_server.py: override log_request() to include [username] in access
  log message and pass structured extra fields (username, user_id,
  remote_ip) so the server log buffer matches the existing client-log
  pattern
- base_controller.py: add _log_extra() helper; on_finish() appends
  [username] to request-body debug lines and passes structured extra
- logs_viewer.py: remove source == 'client' guard so username filter
  applies to both server and client log sources
- ws_controller.py: store current_username on instance after auth;
  include it in on_message/on_close logs and emit a new auth-success
  log line
- ConfigLogs.vue (both clients): remove v-if and source guards so the
  User filter field is always visible and always sent to the API
- test_logs_viewer.py: replace the 'ignored for server source' test
  with two new tests asserting correct server-source filter behaviour
- docs: add Log Viewer section to system config page

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 6, 2026
* Add V2 user API with proper REST semantics + edit user feature

Introduces a versioned V2 API layer for user management, moving all existing
controllers into an explicit `api/v1/` package and adding `api/v2/` with RESTful
resource-oriented endpoints (GET/POST/PATCH/DELETE on `/api/v2/users`). Adds a new
edit-user feature allowing admins to toggle user admin status, wired into both the
Vue 2 and Vue 3 frontends with an extensible modal design (adding a new editable
field requires only one line in EDITABLE_FIELDS and one form group in the template).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Restructure test package to mirror controllers/api/ hierarchy

Moves all V1 controller tests from test/controllers/api/ into
test/controllers/api/v1/ (with auth/ subpackage), mirroring the
structure introduced when V1 controllers moved to controllers/api/v1/.
The existing test/controllers/api/v2/ tests remain in place.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Remove unnecessary V2 auth controllers; revert frontends to V1 auth

The V1 auth endpoints (login, logout, refresh-token, get current user)
already used correct HTTP verbs and needed no refactoring. The V2 duplicates
added no value and only increased maintenance burden. V2 remains exclusively
for user management endpoints where V1 violated REST conventions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Remove V2 password controllers; revert frontends to V1 password endpoints

Password change and reset endpoints already used correct HTTP verbs in V1
(PATCH and POST respectively) and contained no logic changes in V2 — only
a URL namespace move. Keeping only the V2 token controller where the POST
/revoke → DELETE fix was a genuine REST improvement.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@Tim020 Tim020 marked this pull request as ready for review June 7, 2026 12:19
@Tim020 Tim020 enabled auto-merge June 7, 2026 12:19
@sonarqubecloud

sonarqubecloud Bot commented Jun 7, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
12.2% Duplication on New Code (required ≤ 3%)
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@Tim020 Tim020 merged commit 645f29c into main Jun 7, 2026
38 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client Pull requests changing front end code client-v3 documentation Improvements or additions to documentation release Pull requests for creating a new release server Pull requests changing back end code xlarge-diff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant